 /* 
 * File:   cChaseCamera.h
 * Author: josep
 *
 * Created on 12 / desembre / 2010, 23:47
 */

#ifndef CCHASECAMERA_H
#define	CCHASECAMERA_H

#include "cScrollCamera.h"
#include "cPhysicalVisibleObject.h"


class cChaseCamera: public cScrollCamera{
public:
    cChaseCamera();
    cChaseCamera(const cChaseCamera& orig);
    virtual ~cChaseCamera();
    virtual void Show();
    virtual void Init(cPhysicalVisibleObject* objToChase, int Width, int Height, float SpeedX=0, float SpeedY=0, int PosX=0, int PosY=0);
private:
    void Init();
    float inc[2];
    int LastPos[2];
};

#endif	/* CCHASECAMERA_H */

